package com.gang.music.system.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.gang.music.system.entity.UserSong;
import com.gang.music.system.mapper.UserSongMapper;
import com.gang.music.system.service.UserSongService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gang
 * @since 2017-10-26
 */
@Service
public class UserSongServiceImpl extends ServiceImpl<UserSongMapper, UserSong> implements UserSongService {

	@Autowired
	private UserSongMapper userSongMapper;
	
	@Override
	public void save(UserSong userSong) {
		
		userSongMapper.save(userSong);
	}

	@Override
	public void delete(UserSong userSong) {
		
		userSongMapper.delete(userSong);
	}
	
}
